mvn  clean package  -f ./xpp-cloud/pom.xml -Dmaven.test.skip=true
packages(){
 appName="$1"
 appSourcePath="$2"
 appRunPath="bcm/${appName#*-}"
  if [ ! -d "$appRunPath" ]; then
      echo "创建文件夹 $appRunPath"
      mkdir -p $appRunPath
  else
      echo "$appRunPath 文件夹已存在"
  fi
  
  \cp -r $appSourcePath $appRunPath
}

packages xpp-gateway ./xpp-cloud/xpp-gateway/target/xpp-gateway.jar
packages xpp-auth ./xpp-cloud/xpp-auth/target/xpp-auth.jar
packages xpp-modules-system ./xpp-cloud/xpp-modules/xpp-system/target/xpp-modules-system.jar
packages xpp-modules-job  ./xpp-cloud/xpp-modules/xpp-job/target/xpp-modules-job.jar
packages xpp-marketdata   ./xpp-cloud/xpp-modules/xpp-marketdata/target/xpp-marketdata.jar
packages xpp-pricing    ./xpp-cloud/xpp-modules/xpp-pricing/target/xpp-pricing.jar
cd ./xpp-vue3.0
npm i
yarn run build:prod
cd ../
packages vue    ./xpp-vue3.0/dist/.










